const { banner, cart } = require('./data/index')

module.exports = {
    devServer: {
        before(app) {
            app.post('/banner', (req, res) => {
                res.send(banner)
            })


            app.post('/list', (req, res) => {
                res.send(cart)
            })
        }
    }
}